package sk.marek.barak.shared;

import com.google.gwt.core.client.GWT;

import sk.marek.barak.client.MessageService;
import sk.marek.barak.client.MessageServiceAsync;

public class MessageServiceFactory {
	private static MessageServiceAsync messageService;
	public static MessageServiceAsync getMessageService(){
		if(messageService==null)
			messageService = GWT.create(MessageService.class);
		return messageService;
	}

}
